package com.frogs.ucenter.service.daoimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.SeedUserInfoDao;
import com.frogs.ucenter.entity.SeedUserInfo;
import com.frogs.ucenter.service.SeedUserInfoService;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("seedUserInfoService")
public class SeedUserInfoServiceImpl extends BaseServiceImpl<SeedUserInfo> implements SeedUserInfoService {
    @Autowired
    private SeedUserInfoDao seedUserInfoDao;

    public SeedUserInfoServiceImpl() {
        super();
    }

    public SeedUserInfoDao getSeedUserInfoDao() {
        return seedUserInfoDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<SeedUserInfo> getBaseDao() {
        return seedUserInfoDao;
    }

    public void setSeedUserInfoDao(SeedUserInfoDao seedUserInfoDao) {
        this.seedUserInfoDao = seedUserInfoDao;
    }
}